home *** CD-ROM | disk | FTP | other *** search
/ Amiga Games 1996 July / Amiga Games 1996 #7.iso / userbox / publicdomain / makepass / makepass.doc < prev    next >
Text File  |  1996-04-03  |  3KB  |  77 lines

  1.  
  2.         -------------------------------------------------------------
  3.                                   MakePass        
  4.  
  5.                                   A N Peck        
  6.                                                   
  7.                                     1995          
  8.  
  9.         -------------------------------------------------------------
  10.  
  11.         Now  that  my  number  one son is adept at turning on Daddy's
  12.         computer  and  inserting  all  manner  of items into the disk
  13.         drive,  I thought it about time that I looked into the matter
  14.         of password protection for my Amiga.
  15.  
  16.         As  usual there was a plethora of good PD programs available,
  17.         and as usual there wasn't one which exactly fitted the bill.
  18.  
  19.         What I needed were the following features...
  20.         
  21.         * Auto activation on startup (i.e. no mouse required)
  22.  
  23.         * One program (i.e. no separate password file)
  24.  
  25.         * Encrypted password
  26.  
  27.         * Coded entry (i.e. can't see what is being entered)
  28.  
  29.         * No continuous trying allowed (i.e. 3 strikes and you're out)
  30.  
  31.         With all that in mind, the first step was to code the program.
  32.         There  was  a  small problem however.  Every time I wanted to
  33.         change the password, I had to change the code and recompile.
  34.         So  I  started  on another program which does all that fiddly
  35.         work and then just presents you with the finished product.
  36.  
  37.         The  result  is MakePass.  It employs Chas Wyndam's excellent
  38.         program  S-Omni to execute a script file which leads the user
  39.         through the selection and production of an encrypted password
  40.         program imaginatively called PassWord.
  41.  
  42.         As  well,  the  source  code is included and one option while
  43.         making  your  personalised  PassWord  program is to copy this
  44.         source   code   to  ram:  so  that  you  can  make  your  own
  45.         modifications (e.g. encryption, etc.).
  46.  
  47.         Both are provided with icons, however the Password program is
  48.         of course only possible to be run from CLI, and I'll leave it
  49.         to  you  to  alter  the  project icon for the file Password.a
  50.         (source) to select your favourite text viewer.
  51.         
  52.         S-Omni  usually leaves behind a directory called Omni in ram:
  53.         which  contains all the programs used by the script file.  In
  54.         this  case  however,  given  that  the  program  produced  is
  55.         encrypted, I have deleted all these files prior to the script
  56.         completion,  so  as  to give you some added safety, and so if
  57.         you look into this vestigial directory you'll find it empty.
  58.  
  59.         The  resultant  PassWord  program  is  only  532  bytes and I
  60.         recommend  you plop it into your "C" directory and then alter
  61.         your  startup-sequence  to  make  "Password" the  first line.
  62.  
  63.         It  ain't foolproof, and a good hex-editor/dissassembler will
  64.         lead  you  to  the  encryption  technique,  but  it does work
  65.         against the ravages of a typical 2 year old dynamo.
  66.  
  67.         The program and its source are free, however if they stomp on
  68.         your  Ami please don't blame me.  I'm only the piano player...
  69.  
  70.         Anthony Peck
  71.         68 Woralul St
  72.         Waramanga ACT 2611
  73.         AUSTRALIA
  74.  
  75.         Anthony.Peck@Radford.act.edu.au
  76.  
  77.